package model

const (
	DefaultContentType     = "application/VIID+JSON;charset=UTF-8"
	LowerSystemCallBackUri = "/capture/callback"
)

type VIIDUp struct {
	Keepalive Keepalive
	LoginInfo LoginInfo
	Addr      Addr
}

type Addr struct {
	KeepaliveAddr  string
	RegisterAddr   string
	UnRegisterAddr string
}

type Keepalive struct {
	IsOpen   bool
	Digest   Digest
	Address  string
	Interval string
	DeviceID string
}

type Digest struct {
	UserName string
	Password string
}

type LoginInfo struct {
	UserIdentify string
	UserName     string
	UserIDNumber string
	LocalIp      string
	OrgCode      string
}
